package com.yuexunit.finance.project.entity.lexicon;

public enum NoticeInformStateEnum {

	UNKNOWN("未知"), UNCONFIRM("未确认"), CONFIRM("已确认"), REFUSE("已拒绝");

	private final String paramType;

	private NoticeInformStateEnum(String paramType) {
		this.paramType = paramType;
	}

	public String getValue() {
		return paramType;
	}

	/**
	 * 转为枚举类型
	 * @param value 0:未知/1:未确认/2:已确认
	 * @return 参数类型枚举
	 */
	public static NoticeInformStateEnum valueOf(Integer value) {
		if (value == null || values().length <= value.intValue()) {
			return UNKNOWN;
		}
		return values()[value.intValue()];
	}
}
